package com.csun.cmny.provider.model.dto.merchant;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.math.BigDecimal;
import java.util.List;

@Data
public class MerchantUpdateDto {


    @NotNull(message = "{merchant.id.null}")
    private Long id;


    /*商家名字*/
    private String merchantName;



    /*负责人姓名*/
    private String principalName;


    /*负责人电话*/
    @Pattern(regexp = "^((\\+86)|(86))?(13|15|16|17|18|19)\\d{9}$",
            message = "{contract.phone.error}")
    private String principalPhone;

    /*负责人身份证号*/
    private String principalIDCard;



    /*服务类别id集合*/
   // private List<Long> firstLevelIds;


    /*备注*/
    private  String remark;


}
